Default implementation of a logger outputing the logged information to a file.
More...
Default implementation of a logger outputing the logged information to a file.
◆ FileLogger()
nkLog::FileLogger::FileLogger |
( |
| ) |
|
◆ ~FileLogger()
nkLog::FileLogger::~FileLogger |
( |
| ) |
|
◆ getOutputFilePath()
std::string_view nkLog::FileLogger::getOutputFilePath |
( |
| ) |
const |
- Returns
- The current path for file being written.
◆ setOutputFilePath()
void nkLog::FileLogger::setOutputFilePath |
( |
const std::string_view & |
path | ) |
|
Allows to change the output file path.
- Parameters
-
path | The path of the file the logger should be writing to. |
◆ log()
virtual void nkLog::FileLogger::log |
( |
const std::string_view & |
message, |
|
|
const std::string_view & |
className |
|
) |
| |
|
overridevirtual |
The documentation for this class was generated from the following file: